package spring.example.cloud.service;

import cloud.estate.commons.bean.Building;
import cloud.estate.commons.util.JsonResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

@Service
public interface BuildingService extends IService<Building> {
    JsonResult AddOneBuilding(Building building);

    JsonResult UpdateOneBuilding(Building building);

    JsonResult DeleteOneBuilding(String id);

    JsonResult FindOneBuilding(String id);

    JsonResult FindAllBuilding();
}
